package com.ai.bitcoin.weixin.template;

import com.google.common.collect.Maps;

import java.util.Map;

public abstract class BaseTemplate {

    public abstract Map<String, Object> buildParameterMap(Map<String, Object> request);

    public Map<String, Object> buildDataMap(String value) {
        Map<String, Object> map = Maps.newHashMap();
        map.put("value", value);
        return map;
    }

}
